package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.entity.ReportEarnestMoneyAudit;
import com.eastfair.home.entity.ReportEarnestMoneyAuditHistory;

import java.time.LocalDateTime;
import java.util.List;

import com.eastfair.home.vo.*;
import com.eastfair.home.dto.*;

/**
 * <p>
 * 业务接口
 * 报馆保证金审核记录历史
 * </p>
 *
 * @author linan
 * @date 2023-04-17
 */
public interface ReportEarnestMoneyAuditHistoryService extends SuperService<ReportEarnestMoneyAuditHistory> {

    /**
     * 查询保证金审核历史.
     *
     * @param reportManageAuditHistoryDTO the report manage audit history dto
     * @return the list
     */
    List<ReportEarnestMoneyAuditHistoryVO> queryReportEarnestMoneyAuditHistory(ReportEarnestMoneyAuditHistoryDTO reportManageAuditHistoryDTO);

    /**
     * 保存审核历史.
     *
     * @param reportSpaceAuditDTO the report space audit dto
     * @param submitTime          the submit time
     * @return the boolean
     */
    boolean saveHistoryByReportSpaceAudit(ReportSpaceAuditDTO reportSpaceAuditDTO, LocalDateTime submitTime);

    /**
     * 保存审核历史.
     *
     * @param reportEarnestMoneyAudit the report earnest money audit
     * @return the boolean
     */
    boolean saveHistoryByReportEarnestMoneyAudit(ReportEarnestMoneyAudit reportEarnestMoneyAudit);

    /**
     * 异步保存审核历史.
     *
     * @param reportEarnestMoneyAudit the report earnest money audit
     * @return the boolean
     */
    void asyncSaveHistoryByReportEarnestMoneyAudit(ReportEarnestMoneyAudit reportEarnestMoneyAudit);
}
